home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Puzzle / blox.swf / scripts / DefineButton2_534 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2006-06-13  |  420 b   |  21 lines

  1. on(release){
  2.    _root.SoundPushButton.start();
  3.    _root.GameMenu1._visible = false;
  4.    if(_root.HiScoreEnabled == 1 && _root.Score > 1000)
  5.    {
  6.       _root.ShowEnterYourNameWindow();
  7.    }
  8.    else
  9.    {
  10.       _root.MainMenuMusic.start(0,1000000);
  11.       if(_root.RegisteredVersion == 0)
  12.       {
  13.          _root.ShowBuyMeWindow(1);
  14.       }
  15.       else
  16.       {
  17.          _root.ShowMainMenu();
  18.       }
  19.    }
  20. }
  21.